<!DOCTYPE html>
<html lang="zh">

<head>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover" />
  <meta content="yes" name="apple-mobile-web-app-capable" />
  <meta content="telephone=no" name="format-detection" />

  <title>苏州同济医院_同济官网在线预约</title>
  <link href="/gh/layout.css?time=20201208" rel="stylesheet" type="text/css" />
  <script src="js/jquery.min.js"></script>
  <script src="js/rem.js"></script>
  <style>
    .table {
      margin: 1rem 0;
    }

    .table .tr {
      height: 2.6rem;
    }

    .table .tr a {
      color: #333;
    }

    .table .table-head {
      height: 3.5rem;
    }

    .table .td a {
      color: #20b59a;
    }
  </style>
</head>

<body class="index">
  <header>
    <img src="./images/logo_xcx.jpg" alt="" />
    <img src="./images/ptmz_02.jpg" alt="" />
  </header>

  <div class="table">
    <div class="table-left" id="tableLeft">
      <div class="tr"></div>
    </div>
    <div class="table-right">
      <div class="tr table-head" id="tableHead"></div>
      <div id="content"></div>
    </div>
  </div>
  <div class="bottom">
    <a class="home" href="/gh/list_xcx.html">
      <img src="./images/home.png" alt=""> 首 页</a>
    <a class="tx" href="/gh/list_xcx.html">
      <img src="./images/tx.png" alt=""> 特聘专家号</a>
    <a class="pt" href="/gh/list.html">
      <img src="./images/pt.png" alt=""> 专科专诊号</a>
  </div>
  <script src="./js/zkks.js?time=20201202"></script>
  <script>
    var tag = ''
    var url = window.location.href
    var dz_url = url.split('#')[0] //获取#之前的字符串
    var cs = dz_url.split('?')[1] //获取?之后的参数字符串
    if (cs) {
      var cs_arr = cs.split('&') //参数字符串分割为数组
      var cs = {}
      for (var i = 0; i < cs_arr.length; i++) {
        //遍历数组，拿到json对象
        cs[cs_arr[i].split('=')[0]] = cs_arr[i].split('=')[1]
      }
      if (cs.tag) {
        var tag = cs.tag
        $('.home').attr("href", "/gh/list_xcx.html?tag=" + cs.tag)
        $('.pt').attr("href", "/gh/list.html?tag=" + cs.tag)
        $('.tx').attr("href", "/gh/list_xcx.html?tag=" + cs.tag)
      }
    } else {
      cs = {}
    }


    for (var k = 0; k < outpatient.length; k++) {
      var kk = ksc[k]
      if (kk === 'kf' || kk === 'sn' || kk === 'xh' || kk === 'fk' || kk === 'mn'|| kk === 'pw' || kk === 'gc' || kk === 'by' || kk === 'js' || kk === 'gw' || kk === 'xn' || kk === 'zl') {
        document.getElementById('tableLeft').innerHTML +=
          '<div class="tr"><a href="/gh/ks_pt.html?tag=' + cs.tag + '&ks='
          + ksc[k] + '">' + outpatient[k] + '</a></div>'
      } else {

        document.getElementById('tableLeft').innerHTML +=
          '<div class="tr">' + outpatient[k] + '</div>'
      }

      document.getElementById('content').innerHTML += '<div id="ks_' + k + '" class="tr"></div>'
      document.getElementById('ks_' + k).innerHTML = td(outpatient[k])
    }

  </script>
</body>

</html>